package com.zp.crm.entity.Menu;

import java.util.Date;

public class MenuEntity {
	
	private int id; //菜单编号，唯一
	
	private int pid; //菜单上下级关系
	
	private String name;//菜单名称
	
	private String url;//菜单页面
	
	private String img;//菜单图片（保留）
	
	private int order1;//菜单序号、
	
	private Date menuCreateTime;//菜单创建时间
	
	private Date menuUpdateTime;//菜单修改时间
	
	private String menuCreateUserName;//菜单创建人
	
	private String menuUpdateUserName;//菜单修改人
	
	
	
	

	public MenuEntity(int pid, String name, String url, int order1, Date menuCreateTime, String menuCreateUserName) {
		super();
		this.pid = pid;
		this.name = name;
		this.url = url;
		this.order1 = order1;
		this.menuCreateTime = menuCreateTime;
		this.menuCreateUserName = menuCreateUserName;
	}

	public MenuEntity(int id, int pid, String name, String url, String img, int order1, Date menuCreateTime,
			Date menuUpdateTime, String menuCreateUserName, String menuUpdateUserName) {
		super();
		this.id = id;
		this.pid = pid;
		this.name = name;
		this.url = url;
		this.img = img;
		this.order1 = order1;
		this.menuCreateTime = menuCreateTime;
		this.menuUpdateTime = menuUpdateTime;
		this.menuCreateUserName = menuCreateUserName;
		this.menuUpdateUserName = menuUpdateUserName;
	}

	public MenuEntity() {
		super();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getPid() {
		return pid;
	}

	public void setPid(int pid) {
		this.pid = pid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public int getOrder1() {
		return order1;
	}

	public void setOrder1(int order1) {
		this.order1 = order1;
	}

	public Date getMenuCreateTime() {
		return menuCreateTime;
	}

	public void setMenuCreateTime(Date menuCreateTime) {
		this.menuCreateTime = menuCreateTime;
	}

	public Date getMenuUpdateTime() {
		return menuUpdateTime;
	}

	public void setMenuUpdateTime(Date menuUpdateTime) {
		this.menuUpdateTime = menuUpdateTime;
	}

	public String getMenuCreateUserName() {
		return menuCreateUserName;
	}

	public void setMenuCreateUserName(String menuCreateUserName) {
		this.menuCreateUserName = menuCreateUserName;
	}

	public String getMenuUpdateUserName() {
		return menuUpdateUserName;
	}

	public void setMenuUpdateUserName(String menuUpdateUserName) {
		this.menuUpdateUserName = menuUpdateUserName;
	}
}
